// WITH_RUNTIME
fun foo(thread: Thread?) {
    thread?.setName("name")<caret>
}